const studentsStore = defineStore('students', {
  state: () => ({
    studentInfo: {},
  }),
  actions: {
    setStudentInfo(info) {
      // console.log('--info--', info)
      this.studentInfo = info; // 保存来自组件的数据信息
    },
  },
});

export default studentsStore;
